import Vue from 'vue'
import App from './App'

// 全局分享
import share from 'public/share.js'
Vue.mixin(share)  // vuex
import store from './store'
import uView from "uview-ui";
Vue.use(uView);
// --------------------
import tool from '@/config/tool.js' // 工具模块
Vue.prototype.$tool=tool
import {request,updateFile} from '@/config/config.js'
Vue.prototype.request=request
Vue.prototype.updateFile=updateFile
import {wxPayment,PointsPayment} from '@/config/payment.js'
Vue.prototype.wxPayment=wxPayment // 微信支付
Vue.prototype.PointsPayment=PointsPayment // 积分支付
import userModule from '@/config/userModule.js' // 用户模块
Vue.prototype.userMD=userModule
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App,
	store
})
app.$mount()
